Einhugur macOS Bridge plugin.

EinhugurMacOSBridge.NSWorkspace Class (desktop - console - web)

A workspace that can launch other apps and perform a variety of file-handling services.

There is one shared NSWorkspace object per app.

EinhugurCoreBridge.NSObject
   NSWorkspace

class EinhugurMacOSBridge.NSWorkspace

Constructors

NSWorkspace (private) Private constructor.

Properties

ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) Returns Integer handle to the native NSObject structure.

Methods

shared AccessibilityDisplayShouldDifferentiateWithoutColorA Boolean value that indicates whether the app avoids conveying information through color alone.
shared AccessibilityDisplayShouldIncreaseContrastA Boolean value that indicates whether the app presents a high-contrast user interface.
shared AccessibilityDisplayShouldInvertColorsA Boolean value that indicates whether the accessibility option to invert colors is in an enabled state.
shared AccessibilityDisplayShouldReduceMotionA Boolean value that indicates whether the accessibility option to reduce motion is in an enabled state.
shared AccessibilityDisplayShouldReduceTransparencyA Boolean value that indicates whether the app avoids using semitransparent backgrounds.
shared ActivateFileViewerSelectingURLsActivates the Finder, and opens one or more windows selecting the specified files.
shared FrontmostApplicationReturns the frontmost app, which is the app that receives key events.
shared HideOtherApplicationsHides all applications other than the sender.
shared MenuBarOwningApplicationReturns the app that owns the currently displayed menu bar.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject
shared RunningApplicationsReturns an array of running apps.
shared SelectFileSelects the file at the specified path.
shared SwitchControlEnabledA Boolean value that indicates whether Switch Control is currently running.
shared URLForApplicationToOpenURLURLForApplicationToOpenURL
shared URLForApplicationWithBundleIdentifierReturns the URL for the app with the specified identifier.
shared VoiceOverEnabledA Boolean value that indicates whether VoiceOver is currently running.

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit